package com.wfuhui.modules.oms.entity;

import java.io.Serializable;
import java.util.Date;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;

/**
 * 分类
 * 
 * @author lzl
 * @email 2803180149@qq.com
 * @date 2017-07-14 13:43:12
 */
@ExcelTarget("category")
public class CategoryEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	//
	private Integer categoryId;
	// 分类名称
	@Excel(name = "分类名称", width = 30, isImportField = "category_name")
	private String categoryName;
	// 排序
	@Excel(name = "排序", width = 30, isImportField = "sort")
	private Integer sort;

	private String picUrl;

	@Excel(name = "创建时间", width = 30, isImportField = "create_time", exportFormat = "yyyy-MM-dd HH:mm:ss")
	private Date createTime;

	/**
	 * 设置：
	 */
	public void setCategoryId(Integer categoryId) {
		this.categoryId = categoryId;
	}

	/**
	 * 获取：
	 */
	public Integer getCategoryId() {
		return categoryId;
	}

	/**
	 * 设置：分类名称
	 */
	public void setCategoryName(String categoryName) {
		this.categoryName = categoryName;
	}

	/**
	 * 获取：分类名称
	 */
	public String getCategoryName() {
		return categoryName;
	}

	/**
	 * 设置：排序
	 */
	public void setSort(Integer sort) {
		this.sort = sort;
	}

	/**
	 * 获取：排序
	 */
	public Integer getSort() {
		return sort;
	}

	public String getPicUrl() {
		return picUrl;
	}

	public void setPicUrl(String picUrl) {
		this.picUrl = picUrl;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

}
